package com.jdb.banner.api;

import com.fasterxml.jackson.annotation.JsonCreator;

public enum BannerCategory {
    LOAN("贷款详情"),
    ;

    private String text;

    BannerCategory(String text) {
        this.text = text;
    }


    @JsonCreator
    public static BannerCategory forValue(String name) {
        return BannerCategory.valueOf(name);
    }
}
